package com.aspose.cells;

class zdx {
   zdz a;
   zdy b;
   private zakp e;
   int c = 0;
   int d = 97000;

   public int a() {
      return this.a == null ? 0 : this.a.a();
   }

   public void a(int var1) {
      if (this.a() != var1) {
         switch(var1) {
         case 0:
            this.a = new zaoq();
            break;
         case 1:
            this.a = new zhw();
            break;
         case 2:
            this.a = new zatw();
            break;
         case 3:
            this.a = new zbh();
         }

      }
   }

   zdy b() {
      if (this.b == null) {
         this.b = new zdy();
      }

      return this.b;
   }

   String c() {
      return this.b != null ? this.b.a : null;
   }

   zakp d() {
      if (this.e == null) {
         this.e = new zakp(true);
      }

      return this.e;
   }

   void a(zakp var1) {
      this.e = var1;
   }

   String e() {
      return this.a() == 1 ? Character.toString(((zhw)this.a).a) : null;
   }

   boolean f() {
      return this.a() == 1;
   }

   void a(zdx var1) {
      if (var1.b != null) {
         this.b = new zdy();
         this.b.a(var1.b);
      }

      if (var1.a != null) {
         this.a(var1.a());
         this.a.a(var1.a);
      }

      if (var1.e != null) {
         this.d().f(var1.d());
      }

   }
}
